<div id="recentchanges">
<? foreach($pagesmodified as $day=>$pages): ?>
    <h3><?=$day?></h3>
    <ul>
    <? foreach($pages as $pagename=>$modified): ?>
        <li><a href="<?=site_url("/wiki/read/".$pagename)?>" ><?=unNormalizeStr($pagename);?></a> - <?=date ("F d Y H:i:s.", $modified)?></li>
    <? endforeach; ?>
    </ul>
<? endforeach; ?>
</ul>
</div>
